package com.xinsoft.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xinsoft.entity.dto.ScmOutsourcingInstockParam;
import com.xinsoft.entity.po.ScmOutsourcingInstock;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xinsoft.entity.vo.ScmOutsourcingInstockDetailVo;
import com.xinsoft.entity.vo.ScmOutsourcingInstockPageVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author ZYM
* @description 针对表【scm_outsourcing_instock(委外入库)】的数据库操作Mapper
* @createDate 2023-09-04 14:43:24
* @Entity com.xinsoft.entity.po.ScmOutsourcingInstock
*/
public interface ScmOutsourcingInstockMapper extends BaseMapper<ScmOutsourcingInstock> {

    IPage<ScmOutsourcingInstockPageVo> findPageListByParam(Page<ScmOutsourcingInstockPageVo> page, @Param("param") ScmOutsourcingInstockParam param);
    List<ScmOutsourcingInstockPageVo> findPageListByParam(@Param("param") ScmOutsourcingInstockParam param);

    ScmOutsourcingInstockDetailVo getInstockById(Integer id);
}




